package com.iwe.crm.base.exception;

public class CrmException extends RuntimeException{

    private CrmEnum crmEnum;

    public CrmException(CrmEnum crmEnum) {
        //把枚举中消息放入到堆栈中
        super(crmEnum.getMessage());
        this.crmEnum = crmEnum;
    }
}
